/*
 * @Author: 赵鹏霄 
 * @Date: 2020-11-19 16:38:08 
 * @Last Modified by: mikey.zhaopeng
 * @Last Modified time: 2020-11-19 16:44:12
 */
import { getAddressList, getAddressDelete, addAddress } from "@/api/main"
export default function useAddressModel(){
    async function getAddressData():Promise<any>{
      const res=await getAddressList();
      return res.data
    }
    return {
      getAddressData
    }
}